<html>
<head>
<script type="text/javascript">
function changeRows()
{
	try{
		var pFrames = parent.document.getElementsByTagName("frameset");
		pFrames[0].rows="10%,*";
	}catch(e){
		alert(e.message);
	}
}

function restoreRows()
{
	try{
		var pFrames = parent.document.getElementsByTagName("frameset");
		pFrames[0].rows="70%,*";
	}catch(e){
		alert(e.message);
	}
}
</script>
</head>
<body>

<form>
js NOT in the same domain can NOT access parent frameset
<input type="button" onclick="changeRows()"
value="Change row size" />
<input type="button" onclick="restoreRows()"
value="Restore row size" />
</form>

</body>
</html>
